Optimal. Leaf size=184 \[ -\frac {i (1-m) m x (e x)^m}{2 (1+m)}+\frac {i \left (1-\frac {e^{2 i a}}{x^2}\right )^2 x (e x)^m}{2 \left (1+\frac {e^{2 i a}}{x^2}\right )^2}+\frac {i e^{-2 i a} \left (e^{2 i a} (3+m)+\frac {e^{4 i a} (1-m)}{x^2}\right ) x (e x)^m}{2 \left (1+\frac {e^{2 i a}}{x^2}\right )}-\frac {i \left (3+2 m+m^2\right ) x (e x)^m \, _2F_1\left (1,\frac {1}{2} (-1-m);\frac {1-m}{2};-\frac {e^{2 i a}}{x^2}\right )}{1+m} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 184, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.353, Rules used = {4591, 511, 479,
591, 470, 371} \begin {gather*} -\frac {i \left (m^2+2 m+3\right ) x (e x)^m \, _2F_1\left (1,\frac {1}{2} (-m-1);\frac {1-m}{2};-\frac {e^{2 i a}}{x^2}\right )}{m+1}+\frac {i e^{-2 i a} x \left (\frac {e^{4 i a} (1-m)}{x^2}+e^{2 i a} (m+3)\right ) (e x)^m}{2 \left (1+\frac {e^{2 i a}}{x^2}\right )}+\frac {i x \left (1-\frac {e^{2 i a}}{x^2}\right )^2 (e x)^m}{2 \left (1+\frac {e^{2 i a}}{x^2}\right )^2}-\frac {i (1-m) m x (e x)^m}{2 (m+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 470
Rule 479
Rule 511
Rule 591
Rule 4591
Rubi steps
\begin {align*} \int (e x)^m \tan ^3(a+i \log (x)) \, dx &=\int (e x)^m \tan ^3(a+i \log (x)) \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 125, normalized size = 0.68 \begin {gather*} \frac {i x (e x)^m \left (-1+6 \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-x^2 (\cos (2 a)-i \sin (2 a))\right )-12 \, _2F_1\left (2,\frac {1+m}{2};\frac {3+m}{2};-x^2 (\cos (2 a)-i \sin (2 a))\right )+8 \, _2F_1\left (3,\frac {1+m}{2};\frac {3+m}{2};-x^2 (\cos (2 a)-i \sin (2 a))\right )\right )}{1+m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \left (e x \right )^{m} \left (\tan ^{3}\left (a +i \ln \left (x \right )\right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (e x\right )^{m} \tan ^{3}{\left (a + i \log {\left (x \right )} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {tan}\left (a+\ln \left (x\right )\,1{}\mathrm {i}\right )}^3\,{\left (e\,x\right )}^m \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________